package com.atguigu.common.exception;


public class NoStockException extends Exception{

    private String skuId;

    public NoStockException(Long skuId) {
        super("商品Id => "+skuId+"没有足够的库存！=>");
    }
    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }


}
